<?php

class LotsSaleWidget extends BaseWidget
{
    public function init()
    {
        $this->template->aLots = Lot::model()->getAvailableLots('purchase', 10);
    }
}